package com.harrison.dao;

import com.harrison.entity.Blog;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Auther: harrison
 * @Date: 2019/6/24 11:51
 * @Description:
 */
public interface BlogDao extends JpaRepository<Blog, Long> {
    List<Blog> findByUsername(String username);
}
